﻿using SqlSugar;

namespace AhCha.Fortunate.Entity.DaMeng
{
    ///<summary>
    ///api接口请求日志记录
    ///</summary>
   
    [SugarTable("ApiRequestLog")]
    [TenantAttribute(ConstConfigId.DMAhChaFortunate)]
    public partial class ApiRequestLog
    {
        public ApiRequestLog()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public long Id { get; set; }

        /// <summary>
        /// Desc:控制器名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ControllerName { get; set; }

        /// <summary>
        /// Desc:方法名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ActionName { get; set; }

        /// <summary>
        /// Desc:请求的参数JSON
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Param { get; set; }

        /// <summary>
        /// Desc:请求时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Desc:ip地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Ip { get; set; }

        /// <summary>
        /// Desc:请求方式
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Method { get; set; }

        /// <summary>
        /// Desc:主机
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Host { get; set; }

        /// <summary>
        /// Desc:url
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Path { get; set; }

        /// <summary>
        /// Desc:创建人id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public long? CreateUserId { get; set; }

    }
}
